home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dlasd0.z / dlasd0
Encoding:
Text File  |  2002-10-03  |  4.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDLLLLAAAASSSSDDDD0000((((3333SSSS))))                                                          DDDDLLLLAAAASSSSDDDD0000((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DLASD0 - a divide and conquer approach, DLASD0 computes the singular
  10.      value decomposition (SVD) of a real upper bidiagonal N-by-M matrix B with
  11.      diagonal D and offdiagonal E, where M = N + SQRE
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      SUBROUTINE DLASD0( N, SQRE, D, E, U, LDU, VT, LDVT, SMLSIZ, IWORK, WORK,
  15.                         INFO )
  16.  
  17.          INTEGER        INFO, LDU, LDVT, N, SMLSIZ, SQRE
  18.  
  19.          INTEGER        IWORK( * )
  20.  
  21.          DOUBLE         PRECISION D( * ), E( * ), U( LDU, * ), VT( LDVT, * ),
  22.                         WORK( * )
  23.  
  24. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  25.      These routines are part of the SCSL Scientific Library and can be loaded
  26.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  27.      directs the linker to use the multi-processor version of the library.
  28.  
  29.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  30.      4 bytes (32 bits). Another version of SCSL is available in which integers
  31.      are 8 bytes (64 bits).  This version allows the user access to larger
  32.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  33.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  34.      only one of the two versions; 4-byte integer and 8-byte integer library
  35.      calls cannot be mixed.
  36.  
  37. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  38.      Using a divide and conquer approach, DLASD0 computes the singular value
  39.      decomposition (SVD) of a real upper bidiagonal N-by-M matrix B with
  40.      diagonal D and offdiagonal E, where M = N + SQRE. The algorithm computes
  41.      orthogonal matrices U and VT such that B = U * S * VT. The singular
  42.      values S are overwritten on D.
  43.  
  44.      A related subroutine, DLASDA, computes only the singular values, and
  45.      optionally, the singular vectors in compact form.
  46.  
  47.  
  48. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  49.      N      (input) INTEGER
  50.             On entry, the row dimension of the upper bidiagonal matrix.  This
  51.             is also the dimension of the main diagonal array D.
  52.  
  53.      SQRE   (input) INTEGER
  54.             Specifies the column dimension of the bidiagonal matrix.  = 0: The
  55.             bidiagonal matrix has column dimension M = N;
  56.             = 1: The bidiagonal matrix has column dimension M = N+1;
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDLLLLAAAASSSSDDDD0000((((3333SSSS))))                                                          DDDDLLLLAAAASSSSDDDD0000((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      D      (input/output) DOUBLE PRECISION array, dimension (N)
  75.             On entry D contains the main diagonal of the bidiagonal matrix.
  76.             On exit D, if INFO = 0, contains its singular values.
  77.  
  78.      E      (input) DOUBLE PRECISION array, dimension (M-1)
  79.             Contains the subdiagonal entries of the bidiagonal matrix.  On
  80.             exit, E has been destroyed.
  81.  
  82.      U      (output) DOUBLE PRECISION array, dimension at least (LDQ, N)
  83.             On exit, U contains the left singular vectors.
  84.  
  85.      LDU    (input) INTEGER
  86.             On entry, leading dimension of U.
  87.  
  88.      VT     (output) DOUBLE PRECISION array, dimension at least (LDVT, M)
  89.             On exit, VT' contains the right singular vectors.
  90.  
  91.      LDVT   (input) INTEGER
  92.             On entry, leading dimension of VT.
  93.  
  94.             SMLSIZ (input) INTEGER On entry, maximum size of the subproblems
  95.             at the bottom of the computation tree.
  96.  
  97.      IWORK  (workspace) INTEGER array.
  98.             Dimension must be at least (8 * N)
  99.  
  100.      WORK   (workspace) DOUBLE PRECISION array.
  101.             Dimension must be at least (3 * M**2 + 2 * M)
  102.  
  103.      INFO   (output) INTEGER
  104.             = 0:  successful exit.
  105.             < 0:  if INFO = -i, the i-th argument had an illegal value.
  106.             > 0:  if INFO = 1, an singular value did not converge
  107.  
  108. FFFFUUUURRRRTTTTHHHHEEEERRRR DDDDEEEETTTTAAAAIIIILLLLSSSS
  109.      Based on contributions by
  110.         Ming Gu and Huan Ren, Computer Science Division, University of
  111.         California at Berkeley, USA
  112.  
  113.  
  114. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  115.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  116.  
  117.      This man page is available only online.
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.